<!DOCTYPE html>
<html lang="en" ng-app="actionApp">
<head>
    <title>ETL版本信息</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />

    <!--<link rel="stylesheet" type="text/css" href="/css/global.css">-->

    <link rel="stylesheet" type="text/css" href="../css/easyui.css">
    <!--<link rel="stylesheet" type="text/css" href="/css/bootstrap.css">-->
    <link rel="stylesheet" type="text/css" href="../css/bootstrap-table.css">
    <link rel="stylesheet" type="text/css" href="../static/h-ui/css/H-ui.css" />
    <link rel="stylesheet" type="text/css" href="../static/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="../css/cmss.css">
    <link rel="stylesheet" type="text/css" href="../lib/Hui-iconfont/1.0.7/iconfont.css" />

    <script type="text/javascript" src="../vendors/jquery/dist/jquery.js"></script>
    <script type="text/javascript" src="../vendors/jquery/dist/jquery.min.js"></script>
    <script type="text/javascript" src="../lib/layer/2.1/layer.js"></script>
    <script type="text/javascript" src="../static/h-ui/js/H-ui.js"></script>
    <script type="text/javascript" src="../static/h-ui.admin/js/H-ui.admin.js"></script>
    <script type="text/javascript" src="../vendors/bootstrap/dist/js/bootstrap.js"></script>
    <script type="text/javascript" src="../vendors/bootstrap/dist/js/bootstrap-table.js"></script>
    <script type="text/javascript" src="../vendors/bootstrap/dist/js/bootstrap-table-zh-CN.min.js"></script>

    <script type="text/javascript" src="../vendors/angular/angular.min.js"></script>
    <script type="text/javascript" src="../../app.js"></script>
    <script type="text/javascript" src="../filter/common.js"></script>
    <script type="text/javascript" src="../services/service.js"></script>
    <script type="text/javascript" src="../datatable/bootstraptpls.js"></script>
    <script type="text/javascript" src="../controllers/projectManage.js"></script>
    <script type="text/javascript" src="../controllers/productManage.js"></script>
    <script type="text/javascript" src="../controllers/suiteManage.js"></script>
    <script type="text/javascript" src="../controllers/settingManage.js"></script>
    <script type="text/javascript" src="../filter/filter.js"></script>
</head>
<body ng-controller="ProductInfoController">
<div class="page-container">
    <div class="mt-5">
        <div class="btn size-M button selected w-100 box-shadow-1" >
            <a class="font-color-white text-de-none" _href="product_etl_info.html?id={{product.id}}" href="javascript:void(0)">版本信息</a>
        </div>
        <div class="btn size-M button default w-200 box-shadow-1" >
            <a class="font-color-balck text-de-none" _href="product_etl_vt_demo.html?id={{product.id}}" href="javascript:void(0)">测试规范状态实施表</a>
        </div>
    </div>
    <div class="mt-20 background-img">
        <div class="mt-20">
            <dl class="ml-20 clearfix pt-20">
                <div style="height: auto;width: 55px;float: left;">
                    <img src="../img/person.png">
                </div>
                <ul class="ml-10 ">
                    <li class="product-name">负责人联系方式</li>
                    <li class="product-desc">The Contact</li>
                </ul>
            </dl>
            <div class="ml-20">
                <div class="mt-38">
                    <label class="product-pic">
                        研发负责人一(正式)：{{product.fd.name}}/{{product.fd.phone}}
                    </label>
                    <label class="ml-40 product-pic">
                        研发负责人二(外协)：{{product.ad.name}}/{{product.ad.phone}}
                    </label>
                </div>
                <div class="mt-20">
                    <label class="product-pic">
                        测试负责人一(正式)：{{product.ft.picName}}/{{product.ft.phone}}
                    </label>
                    <label class="ml-40 product-pic">
                        测试负责人二(外协)：{{product.at.name}}/{{product.at.phone}}
                    </label>
                </div>
            </div>
        </div>
    </div>
    <div class="mt-10" ng-show="!isUpload">
        <div id="toolbar">
            <button id="add" class="btn icon icon-add" ng-click="doCreate()"></button>
        </div>
       <table id="etlInfo"></table>
    </div>
</div>
<div class="modal-backdrop fade in" ng-if="loading">
    <div class="cmss_loading" style="text-align: -webkit-center;text-align: -moz-center;">
        <div class="w-600 clearfix">
            <div class="loading-gif f-l"></div>
            <div class="c-white f-24 f-l pt-100 ml-30">系统正在马不停蹄的为您打包，<br/>请耐心等待......</div>
        </div>
    </div>
</div>
</body>
</html>
<script type="text/ng-template" id="productVersion.html">
    <div class="xn-modal-sm">
        <div class="xn-modal-sm radius">
            <div class="modal-header">
                <div class="text-c border-bottom ml-30 mr-30">编辑产品</div>
                <a class="close" style="background-image: url(../img/icon_close.png);top: 0;" aria-hidden="true" ng-click="doCancel()"></a>
            </div>
            <div class="modal-body-sm ">
                <div class="form-group line-div mt-24">
                    <label class="line-lable f-l ml-30"><span>版本号</span></label>
                    <div class="line-text-lg ml-10 f-l" ng-show="type == 'create'">
                        <input class="input-text radius line-text-lg f-l" type="text" name="version" ng-model="version" required="required" autofocus>
                    </div>
                    <div class="line-text-lg ml-10 f-l" ng-show="type == 'update'">
                        {{version}}
                    </div>
                </div>
                <div class="form-group line-div mt-16" ng-if="type == 'update'">
                    <label class="line-lable f-l ml-30"><span class="f-right ">文件名</span></label>
                    <div class="ml-10 f-l" style="width: 470px;">
                        {{fileName}}
                    </div>
                </div>
                <div class="form-group line-div mt-16">
                    <div class="ml-30 clearfix">
                        <label class="line-lable f-l"><span class="f-right ">文件名</span></label>
                        <input id="upImportFileIdShow" type="text" class="form-control f-l ml-10" style="width: 390px;" placeholder="  未选择任何文件" >
                        <input type="file" style="display: none;" id="upImportFileId" name="upImportFileId" contentEditable="false" accept="textml" onchange="filechange(this);" />
                        <input type="button" class="input-group-addon xn-cursor f-l" style="width: 80px;height: 33px;font-size: 12px;white-space: nowrap;text-align: center;cursor: pointer" onclick="upImportFileId.click()" value="选择文件">
                    </div>
                </div>
            </div>
            <div class="modal-footer-bdf mt-30 clearfix">
                <button class="btn btn-footer btn-default f-l" ng-click="doCancel()">取消</button>
                <button class="btn btn-footer success f-l" ng-click="doUpload()">确定</button>
            </div>
        </div>
    </div>
</script>
<script>
    function filechange(obj){
        upImportFileIdShow.value = obj.value;
    }
</script>

